<template>
	<view class="comingsoon">
		<view class="flex" v-if="type==1">
			<image :src="img"></image>
			<text class="text-grey fs28">{{text}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		name: "comingSoon",
		data() {
			return {
				img: require('@/static/images/default/coming-gold.png')
			};
		},
		props: {
			text: {
				type: String,
				default: '即将上线',
			},
			type: {
				type: Number,
				default: 1,
			}
		}
	}
</script>

<style lang='scss' scoped>
	.comingsoon {
		&>view {
			flex-direction: column;
			padding: 80rpx 0px 200rpx;

			image {
				width: 400rpx;
				height: 400rpx;
			}
		}
	}
</style>
